package com.lcredu.springbootusersys;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 18442
 */
@SpringBootApplication
//@ServletComponentScan(basePackages = "com.lcredu.springbootusersys")
public class SpringbootUsersysApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext ioc = SpringApplication.run(SpringbootUsersysApplication.class, args);
//        String[] beanDefinitionNames = ioc.getBeanDefinitionNames();
//        for (String name : beanDefinitionNames) {
//            //servlet---com.lcredu.springbootusersys.servlet.Servlet_
//            //filter---com.lcredu.springbootusersys.servlet.Filter_
//            //listener---com.lcredu.springbootusersys.servlet.Listener_Registrar
//            System.out.println(name);
//        }
    }

}
